import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import Vant from 'vant';
import 'vant/lib/index.css';
import { NavBar, Button, Toast, Field, Popup, Icon } from 'vant'; // 补充导入Field和Popup
import './assets/style.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 正确引入（以 vant 为例）

const app = createApp(App)
app.use(Vant);
app.use(Icon)
app.use(createPinia())
app.use(router)
app.mount('#app')
app.use(ElementPlus)